$fontSize: 15px;
aside,
form,
div {
	&::-webkit-scrollbar-track {
		border-radius: 0;
		background-color: rgba(0, 0, 0, 0.1);
	}
	&::-webkit-scrollbar {
		-webkit-appearance: none;
		width: 6px;
		height: 6px;
	}
	&::-webkit-scrollbar-thumb {
		cursor: pointer;
		border-radius: 2px;
		transition: color 0.2s ease;
		background-color: rgba(0, 0, 0, 0.15);
	}
}
a {
	color: var(--primary);
	text-decoration: none;
}
input:invalid {
	outline: none;
	border-color: initial;
}
input[aria-hidden='true'] {
	display: none !important;
}

/* 提高 TinyMCE 辅助弹窗容器的层级 */
.tox-tinymce-aux,
.tox-silver-sink {
	z-index: 3000 !important;
}

/* 提高 TinyMCE 悬浮工具栏层级 */
.mce-floatpanel {
	z-index: 3100 !important;
}

.el-select > .el-input {
	display: flex;
}

.dialog_form_wrapper {
	flex: 1;
	overflow: hidden;
	.el-form-item__label {
		font-size: 15px;
	}
	.el-radio__label {
		font-size: 15px;
	}
	.el-input {
		font-size: 15px;
		line-height: 1;
	}
}

.el-dialog__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	&:has(.is-fullscreen) {
		padding: 0;
	}
}

.el-dialog {
	width: 100%;
	.el-dialog__header {
		padding: 16px;
		border-bottom: solid 1px #e4e7ed;
		flex-shrink: 0;
	}
	.el-dialog__headerbtn {
		right: 15px;
	}
	.el-dialog__footer {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 15px;
		border-top: solid 1px #e4e7ed;
		flex-shrink: 0;
	}
	.el-dialog__body {
		display: flex;
		overflow: auto;
		padding: 22px 22px 0;
		box-sizing: border-box;
		max-height: calc(100vh - 177px);
	}
	&:has(.el-dialog__footer) {
		.el-dialog__body {
			max-height: calc(100vh - 244px);
		}
	}
	&.is-fullscreen {
		display: flex;
		flex-direction: column;
		border-radius: 0;
		.el-dialog__body {
			flex: 1;
			max-height: none;
		}
	}
}

.el-drawer {
	.el-drawer__header {
		margin: 0;
		padding: 16px;
		flex-shrink: 0;
		line-height: 1;
		border-bottom: solid 1px #e4e7ed;
	}
	span[role='heading'] {
		font-size: 16px;
	}
	.el-drawer__close-btn {
		line-height: 1;
	}
	.el-drawer__body {
		display: flex;
		flex-direction: column;
		overflow: hidden;
		flex: 1;
	}
}

.el-empty {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	.el-empty__description {
		color: #909399;
		margin-top: 10px;
	}
}

.el-scrollbar {
	.el-scrollbar__wrap {
		overflow-x: hidden;
	}
}

.el-radio-group,
.el-checkbox-group {
	display: inline-flex;
	flex-wrap: wrap;
}

.el-radio {
	display: inline-flex;
	align-items: center;
	padding: 5px 0;
	.el-radio__input {
		font-size: 0;
	}
	.el-radio__label {
		line-height: 1;
		white-space: nowrap;
	}
}

.el-checkbox {
	display: inline-flex;
	align-items: center;
	padding: 5px 0;
	.el-checkbox__input {
		font-size: 0;
	}
	.el-checkbox__label {
		line-height: 1;
		white-space: nowrap;
	}
}

.el-input-number.is-controls-right {
	.el-input__inner {
		text-align: left;
	}
}

.el-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
